import React, { Component } from 'react'
import { Link } from 'react-router-dom'

export default class Nav extends Component {
    render() {
        return (
            <ul>
                <li>
                    <Link to='/'>page1</Link>
                </li>
                <li>
                    <Link to='/page2'>Page2</Link>
                </li>
                <li>
                    <Link to='/page3'>page3</Link>
                </li>
                <li>
                    <Link to='/page4'>page4</Link>
                </li>
            </ul>
        )
    }
}
